/*
package com.module.oa.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.xml.transform.Result;

@RestController
@RequestMapping("/activiti")
@Slf4j
public class ActivitiController {

    @Autowired
    private IActivitiService iActivitiService;
    //生成25张表
    @GetMapping
    public Result getTables(){
        log.info("开始生成表................................................................");
        Result result = iActivitiService.getTable();
        return result;
    }

    //流程部署
    @GetMapping("/bushu")
    public Result bushu(){
        log.info("部署 ");
        return Result.success("ok");

    }

    //查询个人待执行的任务
    @GetMapping("/list")
    public Result list(){
        log.info("查询个人待执行的任务");
        Result result = iActivitiService.list();
        return result;
    }

    //结束
    @GetMapping("/complete")
    public Result complete(){
        log.info("结束");
        Result result = iActivitiService.complete();
        return result;
    }
}*/
